package com.yanchi.mapper;

import com.yanchi.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    // 保存用户信息
    int save(User user);

    // 通过username查询用户信息
    User selectByUsername(String username);

}
